-
-
Notifications
You must be signed in to change notification settings - Fork 226
chore(deps): update Cocoa SDK to v9.1.0 #4781
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
1275f51 to
908db8e
Compare
modules/sentry-cocoa.properties
Outdated
| @@ -1,2 +1,2 @@ | |||
| version = 8.57.3 | |||
| version = 9.0.0 | |||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Bug: iOS minimum version mismatch with Cocoa SDK 9.0.0
Bumping to Cocoa SDK 9.0.0 introduces a minimum iOS version mismatch. The Cocoa SDK 9.0.0 requires iOS 15.0 minimum, but Directory.Build.props declares SupportedOSPlatformVersion as 13.0 for iOS. Apps built with this SDK version would claim iOS 13.0 support but could crash or fail at runtime on iOS 13.x and 14.x devices due to the Cocoa SDK's higher minimum requirement. The minimum platform versions in the build configuration need to be updated to match the Cocoa SDK's requirements.
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #4781 +/- ##
==========================================
- Coverage 73.79% 73.53% -0.26%
==========================================
Files 483 483
Lines 17547 17547
Branches 3460 3460
==========================================
- Hits 12949 12904 -45
- Misses 3746 3782 +36
- Partials 852 861 +9 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
2c065e1 to
a1354a2
Compare
modules/sentry-cocoa.properties
Outdated
| @@ -1,2 +1,2 @@ | |||
| version = 8.57.3 | |||
| version = 9.0.0 | |||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Bug: Patch script whitelist outdated for Cocoa SDK v9.0.0
The Cocoa SDK version is being bumped to v9.0.0, which renamed SentryMechanismMeta to SentryMechanismContext and removed SentryDebugImageProvider. The patch script at scripts/patch-cocoa-bindings.cs has a KeepInterfaces whitelist that still references the old SentryMechanismMeta name (line 132) and SentryDebugImageProvider (line 112). When bindings are regenerated, the new SentryMechanismContext type will be filtered out since it's not whitelisted, but SentryMechanism.Meta property will still reference it, causing compilation failures. The whitelist needs to be updated to match the v9.0.0 API changes.
f93b518 to
501a073
Compare
501a073 to
ed18d9f
Compare
Bumps modules/sentry-cocoa.properties from 8.57.3 to 9.1.0.
Auto-generated by a dependency updater.
Changelog
9.1.0
Warning
The class
SentryDsnhas been converted from Objective-C to Swift. While the public API remains the same, you might have to remove imports of theSentryDsn.hfrom your Objective-C code.We acknowledge that this is a breaking change introduced in a minor release, but it should have been part of the major release 9.0.0 already before - apologies for any inconveniences caused.
Breaking Changes
SentryDsnfrom Objective-C to Swift, removing theSentryDsn.hfrom the public header files.Features
SentryScope(#6830)SentryScopeattributes into log messages (#6834)Improvements
WillTerminateorWillResignActiveNotifications (#6909)Fixes
UIApplication sendAction:to:from:forEvent:(#6970)user.idnot set to installationId if no user is set (#7005)9.0.0
This changelog lists every breaking change. For a high-level overview and upgrade guidance, see the migration guide.
Breaking Changes
SentryEventDecoderto SPI (#6365)PreviewRedactOptions,SentryProfileOptions,SentryRedactViewHelper,SentryViewScreenshotOptions,SentryReplayOptions,SentryUserFeedbackConfiguration,SentryUserFeedbackFormConfiguration,SentryUserFeedbackThemeConfiguration,SentryUserFeedbackWidgetConfiguration,SentryFeedback, andSentryExperimentalOptionsfinal(#6365)setExtraValuefrom SentrySpan (#5864)integrationsproperty fromSentryOptions(#5749)defaultIntegrationsfunction fromSentryOptions(#6664)SentryEventDecodableinternal (#5808)spanproperty onSentryScopeis now readonly (#5866)SentryIntegrationProtocolfrom the API. This is not used after the removal of theintegrationsproperty (#6660)enablePerformanceV2option and makes this the default. The app start duration will now finish when the first frame is drawn instead of when the OS posts the UIWindowDidBecomeVisibleNotification. (#6008)SentryFrame.instructionproperty (#6504)uuidandnameofSentryDebugMeta(#6512) UsedebugIDinstead ofuuidandcodeFileinstead ofname.SentryFrame.functiondefault tonilinstead of<redacted>(#6608)valueandtypeofSentryExceptionto be nullable (#6563)getHashfrom SentryDsn (#6605)If you need a precompiled XCFramework built with Xcode 15, continue using Sentry SDK 8.x.x.
SentryException.typetonilwhenNSExceptionhas noreason(#6653). The backend then can provide a proper message when there is no reason.SentryLog.LevelandSentryLog.Attributefor ObjC (#6666)SentryFeedbackinitializer to support multiple attachments (#6752)These components run in separate processes or sandboxes with different execution characteristics, which can cause false positive app hang reports.
SentryLevelenum to be written in ObjC (#6802)http.response.status_codefor spans to int (#6896)Features
enablePropagateTraceparentto support OTel/W3C trace propagation (#6356)enableFileManagerSwizzlingfrom experimental options to top-level options (#6592).This option is still disabled by default and will be enabled in a future major release.
enableDataSwizzlingfrom experimental options to top-level options (#6592). This option remains enabled by default.sentry.replay_idattribute to logs (#6515)HubandClient(#6737)Fixes
SentryMechanismMetatoSentryMechanismContextto resolve Kotlin Multi-Platform build errors (#6607)SentryCppHelperto Sentry (#6754)beforeSend(#6910)Improvements
SentryAttachmentfor downstream SDKs (like sentry-godot) (#6521)9.0.0-rc.1
Breaking Changes
SentryEventDecoderto SPI (#6365)PreviewRedactOptions,SentryProfileOptions,SentryRedactViewHelper,SentryViewScreenshotOptions,SentryReplayOptions,SentryUserFeedbackConfiguration,SentryUserFeedbackFormConfiguration,SentryUserFeedbackThemeConfiguration,SentryUserFeedbackWidgetConfiguration,SentryFeedback, andSentryExperimentalOptionsfinal(#6365)setExtraValuefrom SentrySpan (#5864)integrationsproperty fromSentryOptions(#5749)defaultIntegrationsfunction fromSentryOptions(#6664)SentryEventDecodableinternal (#5808)spanproperty onSentryScopeis now readonly (#5866)SentryIntegrationProtocolfrom the API. This is not used after the removal of theintegrationsproperty (#6660)enablePerformanceV2option and makes this the default. The app start duration will now finish when the first frame is drawn instead of when the OS posts the UIWindowDidBecomeVisibleNotification. (#6008)SentryFrame.instructionproperty (#6504)uuidandnameofSentryDebugMeta(#6512) UsedebugIDinstead ofuuidandcodeFileinstead ofname.SentryFrame.functiondefault tonilinstead of<redacted>(#6608)valueandtypeofSentryExceptionto be nullable (#6563)getHashfrom SentryDsn (#6605)If you need a precompiled XCFramework built with Xcode 15, continue using Sentry SDK 8.x.x.
SentryException.typetonilwhenNSExceptionhas noreason(#6653). The backend then can provide a proper message when there is no reason.SentryLog.LevelandSentryLog.Attributefor ObjC (#6666)SentryFeedbackinitializer to support multiple attachments (#6752)These components run in separate processes or sandboxes with different execution characteristics, which can cause false positive app hang reports.
SentryLevelenum to be written in ObjC (#6802)Features
enablePropagateTraceparentto support OTel/W3C trace propagation (#6356)enableFileManagerSwizzlingfrom experimental options to top-level options (#6592).This option is still disabled by default and will be enabled in a future major release.
enableDataSwizzlingfrom experimental options to top-level options (#6592). This option remains enabled by default.sentry.replay_idattribute to logs (#6515)HubandClient(#6737)Fixes
SentryMechanismMetatoSentryMechanismContextto resolve Kotlin Multi-Platform build errors (#6607)SentryCppHelperto Sentry (#6754)Improvements
SentryAttachmentfor downstream SDKs (like sentry-godot) (#6521)9.0.0-rc.0
Breaking Changes
SentryEventDecoderto SPI (#6365)PreviewRedactOptions,SentryProfileOptions,SentryRedactViewHelper,SentryViewScreenshotOptions,SentryReplayOptions,SentryUserFeedbackConfiguration,SentryUserFeedbackFormConfiguration,SentryUserFeedbackThemeConfiguration,SentryUserFeedbackWidgetConfiguration,SentryFeedback, andSentryExperimentalOptionsfinal(#6365)setExtraValuefrom SentrySpan (#5864)integrationsproperty fromSentryOptions(#5749)defaultIntegrationsfunction fromSentryOptions(#6664)SentryEventDecodableinternal (#5808)spanproperty onSentryScopeis now readonly (#5866)SentryIntegrationProtocolfrom the API. This is not used after the removal of theintegrationsproperty (#6660)enablePerformanceV2option and makes this the default. The app start duration will now finish when the first frame is drawn instead of when the OS posts the UIWindowDidBecomeVisibleNotification. (#6008)SentryFrame.instructionproperty (#6504)uuidandnameofSentryDebugMeta(#6512) UsedebugIDinstead ofuuidandcodeFileinstead ofname.SentryFrame.functiondefault tonilinstead of<redacted>(#6608)valueandtypeofSentryExceptionto be nullable (#6563)getHashfrom SentryDsn (#6605)If you need a precompiled XCFramework built with Xcode 15, continue using Sentry SDK 8.x.x.
SentryException.typetonilwhenNSExceptionhas noreason(#6653). The backend then can provide a proper message when there is no reason.SentryLog.LevelandSentryLog.Attributefor ObjC (#6666)SentryFeedbackinitializer to support multiple attachments (#6752)These components run in separate processes or sandboxes with different execution characteristics, which can cause false positive app hang reports.
SentryLevelenum to be written in ObjC (#6802)Features
enablePropagateTraceparentto support OTel/W3C trace propagation (#6356)enableFileManagerSwizzlingfrom experimental options to top-level options (#6592).This option is still disabled by default and will be enabled in a future major release.
enableDataSwizzlingfrom experimental options to top-level options (#6592). This option remains enabled by default.sentry.replay_idattribute to logs (#6515)HubandClient(#6737)Fixes
SentryMechanismMetatoSentryMechanismContextto resolve Kotlin Multi-Platform build errors (#6607)SentryCppHelperto Sentry (#6754)Improvements
SentryAttachmentfor downstream SDKs (like sentry-godot) (#6521)9.0.0-alpha.1
Breaking Changes
SentryEventDecoderto SPI (#6365)PreviewRedactOptions,SentryProfileOptions,SentryRedactViewHelper,SentryViewScreenshotOptions,SentryReplayOptions,SentryUserFeedbackConfiguration,SentryUserFeedbackFormConfiguration,SentryUserFeedbackThemeConfiguration,SentryUserFeedbackWidgetConfiguration,SentryFeedback, andSentryExperimentalOptionsfinal(#6365)setExtraValuefrom SentrySpan (#5864)integrationsproperty fromSentryOptions(#5749)defaultIntegrationsfunction fromSentryOptions(#6664)SentryEventDecodableinternal (#5808)spanproperty onSentryScopeis now readonly (#5866)SentryIntegrationProtocolfrom the API. This is not used after the removal of theintegrationsproperty (#6660)enablePerformanceV2option and makes this the default. The app start duration will now finish when the first frame is drawn instead of when the OS posts the UIWindowDidBecomeVisibleNotification. (#6008)SentryFrame.instructionproperty (#6504)uuidandnameofSentryDebugMeta(#6512) UsedebugIDinstead ofuuidandcodeFileinstead ofname.SentryFrame.functiondefault tonilinstead of<redacted>(#6608)valueandtypeofSentryExceptionto be nullable (#6563)getHashfrom SentryDsn (#6605)If you need a precompiled XCFramework built with Xcode 15, continue using Sentry SDK 8.x.x.
SentryException.typetonilwhenNSExceptionhas noreason(#6653). The backend then can provide a proper message when there is no reason.SentryLog.LevelandSentryLog.Attributefor ObjC (#6666)SentryFeedbackinitializer to support multiple attachments (#6752)Fixes
SentryMechanismMetatoSentryMechanismContextto resolve Kotlin Multi-Platform build errors (#6607)SentryCppHelperto Sentry (#6754)Improvements
SentryAttachmentfor downstream SDKs (like sentry-godot) (#6521)Features
enablePropagateTraceparentto support OTel/W3C trace propagation (#6356)enableFileManagerSwizzlingfrom experimental options to top-level options (#6592).This option is still disabled by default and will be enabled in a future major release.
enableDataSwizzlingfrom experimental options to top-level options (#6592). This option remains enabled by default.sentry.replay_idattribute to logs (#6515)HubandClient(#6737)9.0.0-alpha.0
Breaking Changes
SentryEventDecoderto SPI (#6365)PreviewRedactOptions,SentryProfileOptions,SentryRedactViewHelper,SentryViewScreenshotOptions,SentryReplayOptions,SentryUserFeedbackConfiguration,SentryUserFeedbackFormConfiguration,SentryUserFeedbackThemeConfiguration,SentryUserFeedbackWidgetConfiguration,SentryFeedback, andSentryExperimentalOptionsfinal(#6365)setExtraValuefrom SentrySpan (#5864)integrationsproperty fromSentryOptions(#5749)defaultIntegrationsfunction fromSentryOptions(#6664)SentryEventDecodableinternal (#5808)SentryIntegrationProtocolfrom the API. This is not used after the removal of theintegrationsproperty (#6660)debug=Truewhich fixes various deadlocks (#6562)enablePerformanceV2option and makes this the default. The app start duration will now finish when the first frame is drawn instead of when the OS posts the UIWindowDidBecomeVisibleNotification. (#6008)SentryFrame.instructionproperty (#6504)uuidandnameofSentryDebugMeta(#6512) UsedebugIDinstead ofuuidandcodeFileinstead ofname.SentryFrame.functiondefault tonilinstead of<redacted>(#6608)valueandtypeofSentryExceptionto be nullable (#6563)getHashfrom SentryDsn (#6605)If you need a precompiled XCFramework built with Xcode 15, continue using Sentry SDK 8.x.x.
SentryException.typetonilwhenNSExceptionhas noreason(#6653). The backend then can provide a proper message when there is no reason.SentryLog.LevelandSentryLog.Attributefor ObjC (#6666)Fixes
SentryMechanismMetatoSentryMechanismContextto resolve Kotlin Multi-Platform build errors (#6607)Improvements
SentryAttachmentfor downstream SDKs (like sentry-godot) (#6521)Features
enablePropagateTraceparentto support OTel/W3C trace propagation (#6356)enableFileManagerSwizzlingfrom experimental options to top-level options (#6592).This option is still disabled by default and will be enabled in a future major release.
enableDataSwizzlingfrom experimental options to top-level options (#6592). This option remains enabled by default.sentry.replay_idattribute to logs (#6515)